<?php if (!defined('THINK_PATH')) exit();?><div class="gdviewctrl" id="gdviewctrl">
<form id="gdlb" name="gongdan" method="post" action="index.php?action=chekgdlb">
<table id="gdvlist">
  <tr class="gdctrlplan">
    <td colspan="4"><input name="newgd" value="新建工单" type="button" onclick="fastnewgd()"/></td>
  </tr>
  <tr>
    <td>查询时间范围：</td>
    <td><input type="text" name="starttime" id="starttime" class="easyui-datetimebox"  value="<?php echo date("y/m/d");?> 00:00:00" />~<input type="text" name="endtime" id="endtime" class="easyui-datetimebox" value="<?php echo date("y/m/d");?> 23:59:59" /></td>
    <td>联系号码(全表翻查)：</td>
    <td><input type="text" name="lxnumber" id="lxnumber"  /><input name="reg-submit" value="查询" type="button" onclick="checkgdsubmit()" /></td>
  </tr>

</table>
</form>
</div>
  <table class="easyui-datagrid" style="width:100%;height:auto"
      data-options="singleSelect:true,collapsible:true,method:'get',toobar:'#gdviewctrl'" id="gdlist">
    <thead>
      <tr>
        <th data-options="field:'itemid',width:80">编号</th>
        <th data-options="field:'gdlbvalue',width:100">工单类别</th>
        <th data-options="field:'customername',width:80,align:'right'">客户名字</th>
        <th data-options="field:'submitnumber',width:80,align:'right'">申告号码</th>
        <th data-options="field:'contactnumber',width:250">联系电话</th>
        <th data-options="field:'fwnr',width:60,align:'center'">服务内容</th>
        <th data-options="field:'isend',width:60,align:'center'">状态</th>
        <th data-options="field:'orderman',width:60,align:'center'">下单人</th>
        <th data-options="field:'ctrlman',width:60,align:'center'">处理人</th>
        <th data-options="field:'time',width:60,align:'center'">工单开始时间</th>
        <th data-options="field:'endtime',width:60,align:'center'">工单处理时间</th>
        <th data-options="field:'gdqc',width:60,align:'center'">工单是否合格</th>
      </tr>
    </thead>
  </table>
<div id="dlg1" class="easyui-dialog" title="Basic Dialog" data-options="iconCls:'icon-save',closed:true" style="width:800px;height:600px;padding:0px"></div>